package com.dempsey.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.dempsey.dao.Book;

/**
* @author Dempsey
* @description 针对表【books】的数据库操作Mapper
* @createDate 2022-01-20 02:23:26
* @Entity com.dempsey.dao.Books
*/

@Mapper
public interface BookMapper {

    int insertSelective(Book books);

    int deleteByBookid(@Param("bookid") Integer bookid);

    int updateSelective(Book books);

    List<Book> queryByBookid(@Param("bookid") Integer bookid);

    List<Book> queryAll();

}




